<?php use Fisharebest\Webtrees\Bootstrap4; ?>
<?php use Fisharebest\Webtrees\FontAwesome; ?>
<?php use Fisharebest\Webtrees\I18N; ?>

<h2 class="wt-page-title"><?= $title ?></h2>

<form class="wt-page-options wt-page-options-clippings d-print-none" method="post">
	<?= csrf_field() ?>

	<div class="row form-group">
		<div class="col-sm-3 col-form-label wt-page-options-label">
			<?= I18N::translate('Add to the clippings cart') ?>
		</div>
		<div class="col-sm-9 wt-page-options-value">
			<?= Bootstrap4::radioButtons('option', $options, $default, false, []) ?>
		</div>
	</div>

	<div class="row form-group">
		<div class="col-sm-3 wt-page-options-label"></div>
		<div class="col-sm-9 wt-page-options-value">
			<button type="submit" class="btn btn-primary">
				<?= FontAwesome::decorativeIcon('save') ?>
				<?= /* I18N: A button label. */ I18N::translate('continue') ?>
			</button>

			<a class="btn btn-secondary" href="<?= e($record->url()) ?>">
				<?= FontAwesome::decorativeIcon('cancel') ?>
				<?= /* I18N: A button label. */ I18N::translate('cancel') ?>
			</a>
		</div>
	</div>
</form>
